package com.sqrj.phoneorder.dao;

import com.sqrj.phoneorder.model.WebUserControl;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WebUserControlMapper {
    int deleteByPrimaryKey(String code);

    int insert(WebUserControl record);

    int insertSelective(WebUserControl record);

    WebUserControl selectByPrimaryKey(String code);

    int updateByPrimaryKeySelective(WebUserControl record);

    int updateByPrimaryKey(WebUserControl record);

    List<WebUserControl> queryUnit();

    List<WebUserControl> queryUnitByAddr(@Param("province") String province, @Param("city") String city, @Param("district") String district, @Param("lx") Integer lx);

    WebUserControl getWebUserbyjbzCode(@Param("jbzCode") String jbzCode);
}